Following the image processing steps on the Structured Light image, we have a binary image consisting of single pixel width pattern which shows where the projected lines are. The contours of subject surface mean that certain parts of the projected grid can not be seen on the captured image (dead shadow areas) and breaks occur in the projected grid itself around the sharp edges or holes. In order to produce a 3-D data set, all of the lines must be perfectly formed, of single-pixel thickness and be continuous. In this paper, the grid lines are interpreted and decisions must be made as to whether any given pixel belongs to which line. The main stage involved in this procedure is tracing. A novel approach of loop tracing introduced to overcome the problems encountered. As a pre-processing required before matching, the pixels detected during the feature extraction process are grouped into continuous lines using the tracing algorithms. These algorithms exploit the fact that the projected pattern was continuous, and allow us to recover the Structured Light image.